package com.ict.fly.dao;

import com.ict.fly.domain.entity.FUserinfo;
import com.ict.fly.domain.entity.FUserinfoExample;
import java.util.List;

import com.ict.fly.domain.input.SelectOrderResultMap;
import org.apache.ibatis.annotations.Param;

public interface FUserinfoMapper {
    long countByExample(FUserinfoExample example);

    int insert(FUserinfo record);

    int insertSelective(FUserinfo record);

    List<FUserinfo> selectByExampleWithBLOBs(FUserinfoExample example);

    List<FUserinfo> selectByExample(FUserinfoExample example);

    FUserinfo selectByPrimaryKey(Integer userinfoId);

    int updateByPrimaryKeySelective(FUserinfo record);

    FUserinfo findByUsername(String username);

    List<FUserinfo> selectAll();

    List<FUserinfo> selectVIP(Integer u_vip);

    List<SelectOrderResultMap> selectOrder(Integer userinfoId);

}